Page({
  data: {
    nearshoplist: '',
    params: {
      page: 1,
      limit: 8
    },
    modalHidden: true

  },

  //初始化数据加载
  onLoad() {
    this.setData({
      nearshoplist: { shop: ['领有惠便利店1', '领有惠便利店2', '领有惠便利店3', '领有惠便利店4', '领有惠便利店5', '领有惠便利店6', '领有惠便利店7'] }
    })
  },

  //页面弹出半透明窗口js
  modalTap: function (e) {
    this.setData({
      modalHidden: false
    })
  },
  modalChange: function (e) {
    this.setData({
      modalHidden: true
    })

    wx.navigateTo({
      url: '../getgoods/getgoods'
    })
  },
  
  modalChange1: function (e) {
    this.setData({
      modalHidden: true
    })
  },

})
